<!DOCTYPE html>  
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <link rel="shortcut icon" href="favicon.ico">

    <link href="{{ URL::asset('./admin/css/bootstrap.min.css') }}" rel="stylesheet">
    <link href="{{ URL::asset('./admin/css/font-awesome.css?v=4.4.0') }}" rel="stylesheet">
    <link href="{{ URL::asset('./admin/css/animate.css') }}" rel="stylesheet">
    <link href="{{ URL::asset('./admin/css/style.css') }}" rel="stylesheet">
    <script type="text/javascript" src="{{ URL::asset('./admin/js/jquery.min.js') }}"></script>
    <script type="text/javascript" src="{{ URL::asset('./admin/js/layer/layer.js') }}"></script>
    <script src="{{ URL::asset('./admin/js/plugins/layer/laydate/laydate.js') }}"></script>
    <script type="text/javascript" charset="utf-8" src="{{ URL::asset('./admin/editor/ueditor.config.js') }}"></script>
    <script type="text/javascript" charset="utf-8" src="{{ URL::asset('./admin/editor/ueditor.all.min.js') }}"> </script>
    <script type="text/javascript" charset="utf-8" src="{{ URL::asset('./admin/editor/lang/zh-cn/zh-cn.js') }}"></script>
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <script>
        $(function(){
            $(".edit").click(function () {
                var url = $(this).attr('url');

                //页面层
                layer.open({
                    type: 1,
                    skin: 'layui-layer-rim', //加上边框
                    area: ['100%', '100%'], //宽高
                    content: "<iframe src='"+url+"' style='height:100%;width:100%'></iframe>",
                    end : function () {
                        location.reload();
                    }
                });
            });
        });
    </script>
</head>